package com.lcx.plugin.neteaseCloud.enums;

/**
 * 登录类型枚举
 *
 * @author daxiong
 * @date 2021/9/14 下午4:15
 */
public enum LoginTypeEnum {
    //
    EMAIL(1, "邮箱"),
    PHONE_NUMBER(2, "手机号"),
    PHONE_CODE(3, "验证码"),
    QR_CODE(4, "二维码"),

    ;


    private final int code;
    private final String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    LoginTypeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
